#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<math.h>
int main()
{
	double a, b, c;
	scanf("%lf %lf %lf", &a, &b, &c);
	double t = (pow(b, 2) - 4 * a * c);
	if (fabs(a)< 1e-9)
		return 0;
	if (t < -1e-9)
	{
		printf("Impossivel calcular");
	}
	else
	{
		printf("R1 = %.5lf\n", (-b + sqrt(t)) / (2*a));
		printf("R2 = %.5lf\n", (-b - sqrt(t)) / (2*a));
	}
	return 0;
}